home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-25 | 2.2 KB | 52 lines | [TEXT/ttxt] |
- ; Sample hosts file demonstrating how to configure a DNS to work with
- ; HomeDoor to serve a number of virtual domains from one Web server.
-
- ; This is the "root" hosts file, usually just called "hosts"
-
- ; ORIGIN
- ; The origin is appended to all domain names not ending in a "." (period)
- ; This line indicates the underlying domain name of your Web server
- $ORIGIN yourwebserver.com.
-
- ; START OF AUTHORITY INFORMATION
- ; "@" stands for "yourwebserver.com."
- ; "dns.yourwebserver.com" is the name of your domain name server
- ; "hostmaster.yourwebserver.com." is the e-mail address of the
- ; person running your DNS (the first "." replaces the @ sign)
- ; Change the serial number any time you change this file
- @ IN SOA dns.yourwebserver.com. hostmaster.yourwebserver.com. (
- 9511141 ; serial number (yymmddn)
- 36000 ; refresh (every 10 hours)
- 7200 ; retry (after 2 hours)
- 604800 ; expire (after 1 week)
- 86400 ) ; minimum time to live (1 day)
-
- ; NAME SERVERS
- ; The names of your primary and secondary DNS servers
- ; These names must have been set up by your provider
- IN NS dns.yourwebserver.com.
- IN NS dns2.yourwebserver.com.
-
- ; MAIL EXCHANGERS
- ; The name of the machine providing mail service for your domain
- ; 10 is the mail priority
- ; "yourmailserver.com" is the name of your mail server
- ; You don't need this line if your provider is maintaining this for you
- IN MX 10 yourmailserver.com.
-
- ; HOST ADDRESSES
- ; The address of your actual Web server
- ; You don't need this line if your provider is maintaining this name for you
- www.yourwebserver.com. IN A 10.0.0.254
-
- ; FILES TO INCLUDE
- ; In these files you define the domain names for HomeDoor's addresses
- $INCLUDE CompanyXHosts.txt ; CompanyX.com info
- $INCLUDE CompanyYHosts.txt ; CompanyY.com info
-
- ; ReverseZones holds reverse information for mapping addresses to names
- ; RootServers holds top level domain information
- $INCLUDE ReverseZones.txt
- $INCLUDE RootServers.txt
-
-